﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")"
        type="text/javascript"></script>
</head>
<body>
    <div id="header">
        <h1>
            <a href="/">MUSIC STORE ASP.NET MVC</a></h1>
        <div id="logindisplay">
            @Html.Partial("_LogOnPartial")
        </div>
        <ul id="navlist">
            <li class="first"><a href="@Url.Content("~")" id="current">Home</a></li>
            @*<li><a href="@Url.Content("~/Store/")">Store</a></li>*@ @* <li>@{Html.RenderAction("CartSummary", "ShoppingCart");}</li>*@
            @if (@User.IsInRole("Administrator"))
            {
                <li><a href="@Url.Content("~/Admin/")">Adminka</a></li>
            }
        </ul>
    </div>
    
    @{Html.RenderAction("GenreMenu", "Store");}
    
 <div id="tosearch"  > @using (Html.BeginForm("Index", "Search", FormMethod.Get))
    {
        <input id="Text1" type="text" name="tosearch" />
        <input id="Submit1" type="submit" value="Find" />
     
@*  @ViewData["searchFor"]
        <p class="button">@Html.ActionLink("Find", "Index", "Search", new { tosearch = @ViewData["searchFor"] }, null)*@
@* </p>*@
    }
    </div>
    <div id="main">
        @RenderBody()
    </div>
    <div id="footer">
        built with @*<a href="http://asp.net/mvc">*@ ASP.NET MVC 3@*</a>*@
    </div>
</body>
</html>
@*<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")"rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")"type="text/javascript"></script>
</head>
<body>
    <div id="header">
        <h1> MUSIC STORE ASP.NET MVC</h1>
        <ul id="navlist">
            <li class="first"><a href="/"id="current">Home</a></li>
            <li><a href="/Store/">Store</a></li>
        </ul>
    </div>
    @RenderBody()
</body>
</html>*@ 